package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.VersionDao;
import com.platform.entity.VersionEntity;
import com.platform.service.VersionService;

/**
 * Service实现类
 *
 * @author lipengjun
 * @email 939961241@qq.com
 * @date 2018-11-11 11:55:01
 */
@Service("tagService")
public class VersionServiceImpl implements VersionService {
    @Autowired
    private VersionDao versionDao;

    @Override
    public VersionEntity queryObject(Integer id) {
        return versionDao.queryObject(id);
    }

    @Override
    public List<VersionEntity> queryList(Map<String, Object> map) {
        return versionDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return versionDao.queryTotal(map);
    }

    @Override
    public int save(VersionEntity tag) {
        return versionDao.save(tag);
    }

    @Override
    public int update(VersionEntity tag) {
        return versionDao.update(tag);
    }

    @Override
    public int delete(Integer id) {
        return versionDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return versionDao.deleteBatch(ids);
    }
}
